<%--
/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is the StikiWeb Wiki 
 *
 * The Initial Developer of the Original Code is Lee Haslup (biglee@haslups.com).
 * Portions created by the Initial Developer are Copyright (C) 2004
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *
 * ***** END LICENSE BLOCK ***** */
 * $Id: login.jsp,v 1.3 2004/05/05 05:38:27 biglee Exp $
--%> 
<%@ page language="java" contentType="text/html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html>
  <head>
  	<link rel='icon' href='images/logo1.png' type='image/png' />
  	<link rel='shortcut icon' href='images/logo1.png' type='image/png' />
    <title>
      Stiki Wiki Login
    </title>
  </head>
<body>
	<table width='100%' height='100%' bgcolor="lightblue">
		<tr>
			<td width='10%'>
				<img src="images/logomed.png" alt="STIKI WIKI"/>
			</td>
			<td width='90%'>
				<h1>StikiWiki - Please Log In</h1>
			</td>
		</tr>
		<tr>
			<td>
				&nbsp;
			</td>
			<td valign='top'>
			   <html:form action='/login.do' focus='username'>
			   <table width='400' border="0" bgcolor='white'>
				   <tr>
					   <td colspan="2">
						  <html:errors />
					 	  <bean:message key="login.text" />
					   </td>
				   </tr>
				   <tr>
				 	  <th align="right">
				 		  <bean:message key="login.prompt.name" />
				 	  </th>
					  <td align="left">
						  <html:text property="username" size="15" maxlength="15" />
					  </td>
				   </tr>
				   <tr>
					  <th align="right">
						  <bean:message key="login.prompt.password" />
					  </th>
					  <td align="left">
						  <html:password property="password" size="15" maxlength="15" redisplay="false"/>
					  </td>
			 	   </tr>
				   <tr>
					  <th align="right">
						  <bean:message key="login.prompt.guestname" />
					  </th>
					  <td align="left">
						  <html:text property="guestname" size="15" maxlength="15" />
					  </td>
				   </tr>
				   <tr>
					  <td></td>
					  <td>
						  <html:submit property="submit">
							  Submit
						  </html:submit>
					  </td>
				  </tr>
			  </table>
			  </html:form>
			</td>
		</tr>
	</table>
</body>
</html>